package com.motong.gongdan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author:fff
 * @time:2022/3/30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("report_bad_product")
public class ReportBadProduct extends PublicPo{
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    @TableField(value = "bad_product_id")
    private Integer badProductId;
    @TableField(value = "num")
    private Integer num;
    @TableField(value = "work_report_id")
    private Integer workReportId;

    @TableField(exist = false)
    private String name;

}
